import request from '@/utils/request'

// 获取热门菜品
export function getHotDishes(params) {
  return request({
    url: '/api/dashboard/hot-dishes',
    method: 'get',
    params
  })
}

// 获取菜品详情
export function getDishDetail(id) {
  return request({
    url: `/api/dish/${id}`,
    method: 'get'
  })
}
